<template>
  <div class="finance-container">
    <div class="finance-header">
      <ul class="submenu-list">
        <li><router-link to="/receivables">收款管理</router-link></li>
        <li><router-link to="/payables">付款管理</router-link></li>
        <li><router-link to="/refunds">退款管理</router-link></li>
      </ul>
    </div>
    <div class="finance-content">
      <router-view></router-view>
    </div>
  </div>
</template>

   


<style scoped>
.finance-container {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.finance-header {
  background-color: #f5f5f5;
  padding: 10px 20px;
  border-bottom: 1px solid #e0e0e0;
}

.submenu-list {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
}

.submenu-list li {
  margin: 0 10px;
}

.submenu-list {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.submenu-list li {
  margin: 10px 0;
}

.submenu-list a {
  text-decoration: none;
  color: #333;
  padding: 8px 12px;
  display: block;
  border-radius: 4px;
}

.submenu-list a:hover {
  background-color: #e0e0e0;
}

.submenu-list a.router-link-exact-active {
  background-color: #42b983;
  color: white;
}

.finance-content {
  flex: 1;
  padding: 20px;
}
</style>


 